function onButtonClickCL(e)
{
    // 1. Create Element of type <input>
    var newElement = document.createElement("input");
    newElement.className = "input class";
    newElement.placeholder = "Enter period";
    newElement.style.border = "black 2px solid";
    newElement.id = "periodCL";
    newElement.style.padding = "5px";
    newElement.style.marginRight = "10px";

    var newElement1 = document.createElement("input");
    newElement1.className = "input class";
    newElement1.placeholder = "Enter amount";
    newElement1.style.border = "black 2px solid";
    newElement1.id = "amountCL";
    newElement1.style.padding = "5px";
    newElement1.style.marginRight = "10px";

    var submit = document.createElement("input");
    submit.type = "submit";
    submit.id = "submitCL";
    submit.style.padding = "5px";
    submit.value = "Create";

    // 2. Find parent element
    var Cloan = document.getElementById("customerLoan");

    // 3. Append to parent

    Cloan.innerHTML += "Customer loan period: ";
    Cloan.appendChild(newElement);
    Cloan.innerHTML += "Amount: ";
    Cloan.appendChild(newElement1);
    Cloan.appendChild(submit);

    e.preventDefault();
}
